using System.Windows.Forms;
using pub.CmdUI.Cmd;
using pub.CmdUI.UI.Control;

namespace todo.Cmd.Edit
{
    public class AddChildCmd : AddBeforeCmd
    {
        public AddChildCmd()
        {
            Shortcut = new CmdShortcut(Keys.Alt | Keys.Insert);
        }

        public override void Execute(IControlUI controlUi)
        {
            TodoApi.Instance.AddChild();
        }
    }
}